<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/5/3
  Time: 16:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>注册成功！ </h1>
<h1>三秒后转向登录页面</h1>
</body>
</html>
<script>
    //加载完毕后执行
    window.onload = function () {
        //三秒后跳转到登录页面
        setTimeout(function () {
            window.location.href = "${pageContext.request.contextPath}/index.jsp";
        }, 3000);
    }
</script>
